<%@ page language="java" import="java.util.*,com.newbingo.enums.*" pageEncoding="UTF-8"%>
<%@page import="com.newbingo.entity.GameTable;"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
  <head>

    
    <title>操作时间管理</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>

  <body> 
     <form action="/newbingo/GameTable_findByPage.action">
       	   	   <table border="1" width="60%">
	     <tr align="center">
	       <td>游戏桌</td><td>网址</td><td>状态</td><td>操作</td>
	      </tr>
	      <s:iterator value="pager.data">
	        <tr>
	          <td>
	             <s:property value="name"/>
	            </td>
	          <td>
	             <s:property value="website" />
	            </td>
	          <td>
	            <s:property value="status" />
	          </td>
	          <td>
	            &nbsp;&nbsp;<a href="/newbingo/GameTable_findById.action?gameTable.gtno=${gtno}">修改</a>
	          </td>
	        </tr> 
	      </s:iterator>
	   </table>
     </form>
    <div>
      <form action="/newbingo/GameTable_merge.action" method="post">
          <div>桌名：<input name="gameTable.name" value="${gameTable.name }"/></div><p>
          <div>网址：<input name="gameTable.website" value="${gameTable.website }"/></div><p>
          <div>开场时间：<select name="gameTable.operationTime.openTime">
                          <option value="${gameTable.operationTime.openTime}">${gameTable.operationTime.openTime }</option>
                          <option value="7:00:00">7:00</option>
                          <option value="8:00:00">8:00</option>
                          <option value="9:00:00">9:00</option>
                       </select>(每天)————————————关场时间：<select name="gameTable.operationTime.closeTime">
                          <option value="${gameTable.operationTime.closeTime }">${gameTable.operationTime.closeTime}</option>
                          <option value="20:00:00">20:00</option>
                          <option value="21:00:00">21:00</option>
                          <option value="22:00:00">22:00</option>
                       </select>(每天)</div><p>
          <div>开奖间隔：<input name="gameTable.operationTime.drawLotteryInterval" value="${gameTable.operationTime.drawLotteryInterval }"/>(每期间隔XX分钟)—投注截止时间：<input name="gameTable.operationTime.endBettingTimeout" value="${gameTable.operationTime.endBettingTimeout }"/></div>
          <p><input type="submit" value="保 存"/>
      </form>
    </div>
    
  </body>
</html>
